package com.tanhua.dubbo.api;

import com.tanhua.model.mongo.Video;
import com.tanhua.model.vo.PageResult;

import java.util.List;

public interface VideoApi {
    //保存视频数据
    String save(Video video);

    //根据pid查询数据
    List<Video> findmovementsById(List<Long> vids);
    //分页查询
    List<Video> queryVideoList(int page, Integer pagesize);

    //根据id视频记录翻页
    PageResult findByVideo(Integer page, Integer pagesize, Long uid);
}
